import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

Vue.config.productionTip = false

//配置axios请求接口
import axios from "./utils/request";
Vue.prototype.$axios = axios;

//element-ui的配置
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';//导入css
Vue.use(ElementUI);

  
//配置echarts
//配置echarts插件，参考axios的配置 main.js中进行配置
import * as echarts from 'echarts';
Vue.prototype.$echarts = echarts;

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
